/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.source.service.background;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.source.entity.background.EleSourceBackground;
import com.thinkgem.jeesite.modules.source.dao.background.EleSourceBackgroundDao;

/**
 * 背景资源管理Service
 * @author ZC
 * @version 2017-04-20
 */
@Service
@Transactional(readOnly = true)
public class EleSourceBackgroundService extends CrudService<EleSourceBackgroundDao, EleSourceBackground> {

	public EleSourceBackground get(String id) {
		return super.get(id);
	}
	
	public List<EleSourceBackground> findList(EleSourceBackground eleSourceBackground) {
		return super.findList(eleSourceBackground);
	}
	
	public Page<EleSourceBackground> findPage(Page<EleSourceBackground> page, EleSourceBackground eleSourceBackground) {
		return super.findPage(page, eleSourceBackground);
	}
	
	@Transactional(readOnly = false)
	public void save(EleSourceBackground eleSourceBackground) {
		super.save(eleSourceBackground);
	}
	
	@Transactional(readOnly = false)
	public void delete(EleSourceBackground eleSourceBackground) {
		super.delete(eleSourceBackground);
	}
	
}